<%@ page  contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!doctype html>
<head>
    <title>${webTitle} -- 404</title>
    <%@ include file="/WEB-INF/views/common/head.jsp" %>
    <link rel="stylesheet" href="${staticWebsite}css/admin/page/index/error.css">
</head>
<body>
    <%@ include file="/WEB-INF/views/common/header.jsp" %>
    <div class="page">
		<%@ include file="/WEB-INF/views/common/sidebar.jsp" %>
        <div class="holder">
            <div class="error-num">404</div>
            <div class="error-details">
                <h3>Opps, 您访问的页面无法找到！</h3>
                <p>
                    <c:if test="${!empty eMsg}">
                        <span style="color: red">
                        ${eMsg}
                        </span>
                    </c:if>
                    <a href="${website}home">首页</a>或者浏览其他页面。
                </p>
            </div>
        </div>
    </div>
    <%@ include file="/WEB-INF/views/common/footer.jsp" %>
</body>
</html>
<%
    String url = "http://"+request.getServerName()+ "/" + (String)request.getAttribute("javax.servlet.error.request_uri")+
        (request.getQueryString()==null?"":("?"+request.getQueryString()));
    String referer = request.getHeader("Referer");
    String ip = com.pandawork.core.util.IpUtil.getClientIP(request);
    String message = "404|" + url + "|" + referer +  "|" + ip;
    com.pandawork.core.log.LogClerk.monitorLog.debug(message);
%>